package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/10/31 0031
 **/
@Data
@ApiModel("仓库列表对象")
public class StoreListVo {
    @ApiModelProperty(value = "仓库ID")
    private Long id;

    @ApiModelProperty(value = "仓库编码")
    private String storeNo;

    @ApiModelProperty(value = "仓库名称")
    private String name;

    @ApiModelProperty(value = "是否启用仓位：false-不启用，true-启用")
    private Boolean enableStorePosition;

    @ApiModelProperty(value = "仓库类型：false-内部仓库，true-外部仓库")
    private Boolean outStore;

    @ApiModelProperty(value = "外部仓库类型：1-服务商仓库，2-工程师仓库，当is_out_store=true时生效")
    private Integer outStoreType;

    @ApiModelProperty(value = "外部仓所属")
    private String relateionName;

    @ApiModelProperty(value = "是否允许负库存：false-不允许，true-允许")
    private Boolean canNegativeStock;

    @ApiModelProperty(value = "联系人")
    private String userName;

    @ApiModelProperty(value = "联系人手机号")
    private String userPhone;

    @ApiModelProperty(value = "其他联系方式")
    private String otherPhone;

    @ApiModelProperty(value = "仓库状态：false-启用，true-禁用")
    private Boolean status;

    @ApiModelProperty(value = "仓库地址-省")
    private String province;

    @ApiModelProperty(value = "仓库地址-市")
    private String city;

    @ApiModelProperty(value = "仓库地址-县/区")
    private String area;

    @ApiModelProperty(value = "仓库地址-镇 ")
    private String town;

    @ApiModelProperty(value = "仓库地址-详情地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
